using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Iori.DictCN;
using Iori.FileManageLib;

namespace WuLongAssistance.UserControls {
    public partial class WordView : UserControl {

        private WuLongItem WordShow_;

        /// <summary>
        /// WuLong Item
        /// </summary>
        public WuLongItem WordShow {
            get {
                return WordShow_;
            }
            set {
                WordShow_ = value;
                if (WordShow_ != null) {
                    ctbWord.Text = WordShow_.Word;
                    ctbType.Text = WordShow_.Type;
                    ctbMean.Text = WordShow_.Mean;
                    mdMain.Word = WordShow_.Word;
                }
            }
        }

        public WordView() {
            InitializeComponent();
        }


    }
}
